<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script src="../js/pixi.min.js"></script>
		<script type="text/javascript">
			//创建游戏窗口
			var app= new PIXI.Application(400,800);
			//将窗口添加到页面
			document.body.appendChild(app.view);
			//添加背景页面
			 var beij=new PIXI.Sprite.fromImage("img/img/bg.jpg");
			 app.stage.addChild(beij);
			 //赛车素材
			 var car1= new PIXI.Sprite.fromImage("img/img/saiche-3_03.png");
			 var car2=new PIXI.Sprite.fromImage("img/img/saiche-2_03.png");
			 //位置
			 car2.x=280;
			 car2.y=260;
			 car1.x=130;
			 car1.y=550;
			 app.stage.addChild(car2);
			 app.stage.addChild(car1);
			 var wenb =new PIXI.Text("赛车");
			 wenb.style.fill="#dfe6e9";
			 wenb.x=200;
			 wenb.y=30;
			 app.stage.addChild(wenb);
			 
			 
		</script>
	</body>
</html>